<?php
/**
* TopSites - Компонент каталога ссылок для Joostina CMS.
* @author:      Лаборатория сайтов, http://sitelab.net.ru
* @version:     1.9
* @release:     2010.02.07
* @package:     com_topsites
* @copyright:   (C) 2010 http://sitelab.net.ru,  see /administrator/components/com_topsites/copyright.php
* @license:     http://www.gnu.org/copyleft/gpl.html GNU/GPL
**/

defined( '_VALID_MOS' ) or die( '' );

require_once( $mainframe->getPath( 'toolbar_html' ) ); 

switch ($act) {
        
		case 'settings' :
		Menutopsites :: EDIT_MENU ();
		break; 
        
		case 'help' :
		Menutopsites :: HELP_MENU ();
		break;
		
		default:
		switch ( $task ) {
         
		         case 'new' :
		         Menutopsites :: EDIT_MENU ();
		         break;
		 
		         case 'edit' :
		         Menutopsites :: EDIT_MENU ();
		         break;
				 
				 case 'owner' :
		         Menutopsites :: HELP_MENU ();
		         break;
		 
		         default:
		         Menutopsites :: DEFAULT_MENU ();
		         break;
                }
}
     

?>